package com.demo.hdfs;

import java.io.InputStream;
import java.util.List;

public interface FileUtils {
    boolean putHDFS(InputStream file, String hdfsPath);

    String getHdfs(String hdfspath);

    boolean mkdir(String hdfspath);

    List<String> listFile(String hdfspath);

    boolean isExist(String hdfs);

    void release();

    boolean deletePath(String hdfspath);
}
